Heuristic Strategies for the Knight Tour Problem
نویسنده
چکیده
This paper presents three heuristic functions that aim to reduce the search cost for the knight tour problem. The first heuristic, h1a, is an interesting case of study that illustrates heuristic analysis, although it fails to obtain solutions. Heuristic h2 is an enhancement of the Warnsdorff method, discussed as heuristic h1b. All heuristics are used in conjunction with a greedy algorithm to decide which node to expand next on a best-first basis. Tests show that heuristics h1b and h2 narrow the search space considerably, in most cases to O(N) time when no backtracking occurs. However, the Warnsdorff method, h1b, fails on some boards, sharply declining as N grows larger. Heuristic h2 adds a new criterion to address this issue, being capable of finding complete tours on very large boards in O(N).
منابع مشابه
Two new heuristic algorithms for Covering Tour Problem
Covering Tour Problem (CTP) is the generalized form of Traveling Salesman Problem (TSP), which has found different applications in the designing of distribution networks, disaster relief, and transportation routing. The purpose of this problem is to determine the Hamiltoniancyclewiththe lowest costusinga subset of all the nodes, such that the other nodes would be in a distance shorter than the ...
متن کاملExperimental Results on Hamiltonian-Cycle-Finding Algorithms
Frieze [1] introduced a heuristic polynomial-time algorithm, Ham, for finding Hamiltonian cycles in random graphs with high probability. We wanted to see how this algorithm performs in practice, and whether it could be improved by modifying it. For this purpose, we borrowed an idea from an algorithm by Keydar called SemiHam [2]. SemiHam is a modification of Ham that finds Hamiltonian cycles in ...
متن کاملA CONSTRAINED SOLID TSP IN FUZZY ENVIRONMENT: TWO HEURISTIC APPROACHES
A solid travelling salesman problem (STSP) is a travelling salesman problem (TSP) where the salesman visits all the cities only once in his tour using dierent conveyances to travel from one city to another. Costs and environmental eect factors for travelling between the cities using dierent conveyances are dierent. Goal of the problem is to nd a complete tour with minimum cost that damages the ...
متن کاملNew Heuristic Algorithms for Solving Single-Vehicle and Multi-Vehicle Generalized Traveling Salesman Problems (GTSP)
Among numerous NP-hard problems, the Traveling Salesman Problem (TSP) has been one of the most explored, yet unknown one. Even a minor modification changes the problem’s status, calling for a different solution. The Generalized Traveling Salesman Problem (GTSP)expands the TSP to a much more complicated form, replacing single nodes with a group or cluster of nodes, where the objective is to fi...
متن کاملComplexity and Stop Conditions for NP as General Assignment Problems, the Travel Salesman Problem in R2, Knight Tour Problem and Boolean Satisfiability Problem
This paper presents stop conditions for solving General Assignment Problems (GAP), in particular for Travel Salesman Problem in an Euclidian 2D space the well known condition Jordan’s simple curve and opposite condition for the Knight Tour Problem. The Jordan’s simple curve condition means that a optimal trajectory must be simple curve, i.e., without crossing but for Knight Tour Problem we use ...
متن کامل